package com.zrfintech.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zrfintech.domain.MgUser;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
public interface MgUserDaoI extends BaseMapper<MgUser> {

   @Insert("INSERT INTO `mg_user` (`user_name`,`user_code`,`user_phone`,`user_password`,`user_email`,`push_id`) VALUES (#{userName},#{userCode},#{userPhone},#{userPassword},#{userEmail},#{pushId})")
   @Options(useGeneratedKeys = true, keyProperty = "id")
   int create(MgUser mgUser);
}
